﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Coldairarrow.Entity.PB
{
    /// <summary>
    /// 工资
    /// </summary>
    [Table("PB_UserWages")]
    public partial class PB_UserWages
    {

        /// <summary>
        /// Id
        /// </summary>
        [Key, Column(Order = 1)]
        public String Id { get; set; }

        /// <summary>
        /// 工厂Id
        /// </summary>
        public String FactoryId { get; set; }

        /// <summary>
        /// 部门Id
        /// </summary>
        public String DeptId { get; set; }

        /// <summary>
        /// 员工姓名
        /// </summary>
        public String UserName { get; set; }

        /// <summary>
        /// 班别Id
        /// </summary>
        public String TeamType { get; set; }

        /// <summary>
        /// 班别名称
        /// </summary>
        public String TeamName { get; set; }

        /// <summary>
        /// 工序Id
        /// </summary>
        public String SubId { get; set; }

        /// <summary>
        /// 生产日期
        /// </summary>
        public DateTime? WorkDate { get; set; }

        /// <summary>
        /// 单价
        /// </summary>
        public Double? Price { get; set; }

        /// <summary>
        /// 生产数量
        /// </summary>
        public Double? Nums { get; set; }

        /// <summary>
        /// 总额
        /// </summary>
        public Double? TotalPrice { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public String Remarks { get; set; }

        /// <summary>
        /// 创建人Id
        /// </summary>
        public String CreatorId { get; set; }

        /// <summary>
        /// 创建人姓名
        /// </summary>
        public String CreatorRealName { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 删除状态：0=未删除；1＝已删除；
        /// </summary>
        public Boolean? Deleted { get; set; }

        /// <summary>
        /// 计算方式：0-计数；1-计重
        /// </summary>
        public Int32? Type { get; set; }

        /// <summary>
        /// 物料名称
        /// </summary>
        public string MaterialName { get; set; }

        /// <summary>
        /// 支付方式：0-日结；1-月结
        /// </summary>
        public Int32? PayMode { get; set; }
        /// <summary>
        /// 总重
        /// </summary>

        public double? TotalWeight { get; set; }
        /// <summary>
        /// 比例
        /// </summary>
        public Int32? Proportion { get; set; }
        /// <summary>
        /// 总工时
        /// </summary>
        public double? TotalNum { get; set; }
        /// <summary>
        /// 用户重量
        /// </summary>
        public double? UserWeight { get; set; }
    }
}